@import '~antd/dist/antd.less';
@import './styles/reset.less';
@import '~@/styles/common.less';

.App, #root {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-color: @basicBg;
  position: relative;
}

.ml8 {
  margin-left: 8px;
}

.mt24 {
  margin-top: 24px !important;
}

.mb12 {
  margin-bottom: 12px;
}

.mb24 {
  margin-bottom: 24px !important;
}

.primary {
  color: @primary-color;
}

.searchForm {
  .ant-form-item-label > label {
    width: auto;
    font-size: 14px;
  }
  &.ant-form-inline .ant-form-item {
    margin-bottom: 24px;
  }
  .ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
    font-size: 14px;
  }
  .ant-select-item-option-content {
    font-size: 14px;
  }
}

.desc-item {
  .ant-col {
    display: flex;
    .label {
      min-width: 90px;
      color: #999;
      max-width: 150px;
      text-align: right;
      // .ellipsis-lines(1);
    }
    .value {
      margin-left: 8px;
      // .ellipsis-lines(3);
    }
  }
}

.tab-pane-box {
  padding: 24px;
}

.treeData-wrap {
  background-color: #f2f2f2;
  min-height: 300px;
  padding: 24px;
  width: calc(900px - 48px);
  .treeData-list-item {
    & + .treeData-list-item {
      margin-top: 24px;
    }
  }
  .treeData-list-child {
    padding: 12px;
    margin-top: 12px;
    border: 1px solid  #d9d9d9;
    border-radius: 2px;
    background-color: #fff;
  }
}

